/*
* (c) 2014 University of Applied Sciences, Karlsruhe
* Project "Segmentation of depth data of a plenoptic camera"
* summer semester 2014
*
* image_preprocessing_2d.h
* Contains function which are used to preprocess the color image prior to the edge detection algorithm.
*/

#ifndef _IMAGE_PREPROCESSING_2D_H_
#define _IMAGE_PREPROCESSING_2D_H_

#include <opencv2/opencv.hpp>

namespace sgExecution
{
	namespace ImagePreprocessing2D
	{
		/**
		Performs the Canny Edge detector onto a color image.
		\param[in] colorImage The color image.
		\param[in] lowerThreshold The detection threshold of the Canny edge detector.
		\return A binary edge image of identical size, created out of the color image.
		*/
		cv::Mat CreateContourImageUsingCanny(cv::Mat colorImage, int lowerThreshold);
	}
}
#endif